#include <stdio.h>
void Func()
{
    //printf("a = %d\n",a);

}


int main()
{
    int a = 10;

    //定义一个指针变量p, 保存a的地址
    int *p = &a;// int *p; p = &a;
    printf("%p\n", &a);

    printf("%p %p\n", p, &p);

    *p = 100;// *p <==> *&a <==>a  a = 100
    printf("a = %d\n", a);

    *&a = 1000;// a = 1000;
    printf("a = %d\n", a);

    int b = *p;

    

}

